using UnityEngine;
using System.Collections;

public class Button : MonoBehaviour {
	
	public string splitNumber = "0";
	public string minRoomSize = "0";
	public string maxRoomSize = "0";
	public string baseDungeonSize = "0";
	public string minSplit = "0";
	
	
	// Use this for initialization
	void Start () {
	
	}
	
	// Update is called once per frame
	void Update () {
	
	}
	
	void OnGUI()
	{
	
		GUI.Button(new Rect(0,25,150,25), "Split");
		GUI.Button(new Rect(0,50,150,25), "Generate Corridors");
		GUI.Button(new Rect(0,75,150,25), "Generate Rooms");
		GUI.Button(new Rect(0,100,150,25), "Generate All");
		GUI.Button(new Rect(0,125,150,25), "Reset");
		GUI.Box(new Rect(0,150,150,25), "Number of splits");
		GUI.Box(new Rect(0,175,150,25), "Min Room size");
		GUI.Box(new Rect(0,200,150,25), "Max Room size");
		GUI.Box(new Rect(0,225,150,25), "Base dungeon size");
		GUI.Box(new Rect(0,250,150,25), "Minimum split ratio");
		splitNumber = GUI.TextField(new Rect(150,150,150,25), splitNumber);
		minRoomSize = GUI.TextField(new Rect(150,175,150,25), minRoomSize);
		maxRoomSize = GUI.TextField(new Rect(150,200,150,25), maxRoomSize);
		baseDungeonSize = GUI.TextField(new Rect(150,225,150,25), baseDungeonSize);
		minSplit = GUI.TextField(new Rect(150,250,150,25), minSplit);
		int number = int.Parse(splitNumber);
		
	}
	
}
